package vip.liux.contracts.shared.enums.product;

import vip.liux.core.enums.IEnum;

public enum ShelfState implements IEnum {
    // 上架状态 0:下架 1:上架
    OFF_SHELF(0, "下架"),
    ON_SHELF(1, "上架"),
    ;

    final int value;
    final String desc;

    ShelfState(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
